<?php

namespace app\company\model;

use think\Model;

class SupplierDayOutbound extends Model
{
    public function searchDateAttr($query, $value, $data): void
    {
        if ($value) $query->whereTime('date', 'between', [$value[0], $value[1]]);
    }

}